import dotaClasses
import buffs
import abilities
import const

class testItem(dotaClasses.item):
	name = "Test Item"
	strength = 15
	baseDmg = 60
	damageP = .5
	damage = 25
	agility = 25
	IAS = 90
	MPRP = .75
	HP = 133

class iron_branch(dotaClasses.item):
	name = "Iron Branch"
	alternateNames = ["ggbranch", "Ironwood Branch", "Minor Totem"]
	image = "branches.png"
	cost = 53
	#componentOf = [headdress(), magic_wand(), buckler()]
	strength = 1
	agility = 1
	intel = 1
	description = "+1 Strength\n+1 Agility\n+1 Intelligence"

class magic_stick(dotaClasses.item):
	name = "Magic Stick"
	alternateNames = ["Stick", "Mana Battery"]
	image = "magic_stick.png"
	cost = 150
	#componentOf = [magic_wand()]
	associatedAbilities = [abilities.energyChargeStick()]
	description = "Gains a charge each time a visible enemy casts a spell in a 1200 radius. Maximum of 10 charges."

class magic_wand(dotaClasses.item):

	name = "Magic Wand"
	alternateNames = ["Power Supply"]
	image = "magic_wand.png"
	recipeCost = 150
	components = [magic_stick(), iron_branch(), iron_branch(), iron_branch()]
	strength = 3
	agility = 3
	intel = 3
	associatedAbilities = [abilities.energyChargeStick()]
	description = "+3 Strength\n+3 Agility\n+3 Intelligence"


class orb_of_venom(dotaClasses.item):
	name = "Orb of Venom"
	#alternateNames = ["none"]
	image = "orb_of_venom.png"
	cost = 275 
	#componentOf = [skadi()]
	associatedAbilities = [abilities.poisonAttack()]
	description = "Passive: Poison Attack"
	
class ring_of_health(dotaClasses.item):
	name = "Ring of Health"
	alternateNames = ["Lifetube"]
	image = "ring_of_health.png"
	cost = 875
	#componentOf = [hood_of_defiance(), perseverance(), vanguard()]
	HPR = 5
	description = "+5 HP regeneration"
	
class void_stone(dotaClasses.item):
	name = "Void Stone"
	alternateNames = ["Manatube"]
	image = "void_stone.png"
	cost = 875
	#componentOf = [euls_scepter_of_divinity(), scythe_of_vyse(), perseverance()]
	MPRP = 1
	description = "+100% Mana regeneration"
	
class energy_booster(dotaClasses.item):
	name = "Energy Booster"
	alternateNames = ["Pickled Brain"]
	image = "energy_booster.png"
	cost = 1000
	#componentOf = [arcane_boots(), soul_booster()]
	MP = 250
	description = "+250 MP"
	
class vitality_booster(dotaClasses.item):
	name = "Vitality Booster"
	alternateNames = ["Beastheart"]
	image = "vitality_booster.png"
	cost = 1100
	#componentOf = [heart_of_tarrasque(), soul_booster(), rod_of_atos(), vanguard()]
	HP = 250
	description = "+250 HP"
	
class point_booster(dotaClasses.item):
	name = "Point Booster"
	alternateNames = ["Glowstone"]
	image = "point_booster.png"
	cost = 1200
	#componentOf = [aghanims_scepter(),eye_of_skadi(), soul_booster()]
	HP = 200
	MP = 150
	description = "+200 HP\n+150 Mana"
	
class hyperstone(dotaClasses.item):
	name = "Hyperstone"
	alternateNames = ["Warpcleft"]
	image = "hyperstone.png"
	cost = 2100
	#componentOf = [assault_cuirass(), mjollnir()]
	IAS = 55
	description = "+55 Attack speed"
	
class demon_edge(dotaClasses.item):
	name = "Demon Edge"
	alternateNames = ["Slayer"]
	image = "demon_edge.png"
	cost = 2400
	#componentOf = [daedalus(), divine_rapier(), monkey_king_bar()]
	damage = 46
	description = "+46 Damage"
	
class mystic_staff(dotaClasses.item):
	name = "Mystic Staff"
	alternateNames = ["Acolyte's Staff"]
	image = "mystic_staff.png"
	cost = 2700
	#componentOf = [scythe_of_vyse(), shivas_guard()]
	intel = 25
	description = "+25 Intelligence"
	
class reaver(dotaClasses.item):
	name = "Reaver"
	alternateNames = ["Messerschmidt's Reaver", "Axe of the Malphai"]
	image = "reaver.png"
	cost = 3200
	#componentOf = [heart_of_tarrasque(), satanic()]
	strength = 25
	description = "+25 Strength"
	
class eaglesong(dotaClasses.item):
	name = "Eaglesong"
	alternateNames = ["Eaglehorn", "Dancing Blade"]
	image = "eagle.png"
	cost = 3300
	#componentOf = [ethereal_blade(), butterfly()]
	agility = 25
	description = "+25 Agility"
	
class sacred_relic(dotaClasses.item):
	name = "Sacred Relic"
	alternateNames = ["Sword of the High"]
	image = "relic.png"
	cost = 3800
	#componentOf = [divine_rapier(), radiance(), abyssal_blade()]
	damage = 60
	description = "+60 Damage"



class clarity(dotaClasses.item):
	name = "Clarity"
	alternateNames = ["Mana Potion"]
	image = "clarity.png"
	cost = 50
	charges = 1
	associatedAbilities = [abilities.clarityActive()]
	#description = "Restores 100 mana over 30 seconds when consumed"
	
class tango(dotaClasses.item):
	name = "Tango"
	
	alternateNames = ["Runes of the Blight"]
	image = "tango.png"
	cost = 90
	charges = 3
	associatedAbilities = [abilities.eatTree()]
	#description = "Restores 115 health over 16 seconds when consumed"
	
class healing_salve(dotaClasses.item):
	name = "Healing Salve"
	alternateNames = ["Health Potion", "Flask"]
	image = "salve.png"
	cost = 100
	charges = 1
	associatedAbilities = [abilities.healthPotionActive()]
	#description = "Restores 400 health over 10 seconds when consumed"
	
class smoke_of_deceit(dotaClasses.item):
	name = "Smoke of Deceit"
	alternateNames = ["Smoke"]
	image = "smoke_of_deceit.png"
	cost = 100
	charges = 1
	associatedAbilities = [abilities.smokeOfDeceitActive()]
	description = "15% bonus move speed for 40 seconds when consumed"
	
class town_portal_scroll(dotaClasses.item):
	name = "Town Portal Scroll"
	alternateNames = ["TP", "Homecoming Stone"]
	image = "tpscroll.png"
	cost = 135
	charges = 1
	associatedAbilities = [abilities.teleport()]
	#description = "Teleports you to a friendly building over time when consumed"
	
class dust_of_appearance(dotaClasses.item):
	name = "Dust of Appearance"
	alternateNames = ["Dust"]
	image = "dust.png"
	cost = 180
	charges = 2
	associatedAbilities = [abilities.dust()]
	#description = "Reveals invisible heroes in a nearby area for 12 seconds when consumed"
	
class animal_courier(dotaClasses.item):
	name = "Animal Courier"
	alternateNames = ["Courier", "Chicken"]
	image = "courier.png"
	cost = 150
	charges = 1
	associatedAbilities = [abilities.summonAnimalCourier()]
	#description = "Summons and animal courier when consumed"
	
class flying_courier(dotaClasses.item):
	name = "Flying Courier"
	alternateNames = ["Crow", "Flying"]
	image = "flying_courier.png"
	cost = 220
	charges = 1
	associatedAbilities = [abilities.summonFlyingCourier()]
	#description = "Upgrades an animal courier when consumed"
	
class observer_ward(dotaClasses.item):
	name = "Observer Ward"
	alternateNames = ["Obs", "Wards"]
	image = "ward_observer.png"
	cost = 150
	charges = 2
	associatedAbilities = [abilities.placeWard()]
	#description = "Places an observer ward when consumed"
	
class sentry_ward(dotaClasses.item):
	name = "Sentry Ward"
	alternateNames = ["Sents"]
	image = "ward_sentry.png"
	cost = 200
	charges = 2
	associatedAbilities = [abilities.placeRevWard()]
	#description = "Places a sentry ward when consumed"
	
class bottle(dotaClasses.item):
	name = "Bottle"
	#alternateNames = ["none"]
	image = "bottle.png"
	cost = 600
	charges = 3
	associatedAbilities = [abilities.drinkBottle(), abilities.bottleRune]
	description = "Contains 3 charges which can be replenished by being near the fountain or by bottling a rune."
	

class gauntlets_of_strength(dotaClasses.item):
	name = "Gauntlets of Strength"
	alternateNames = ["Crushing Claws"]
	image = "gauntlets.png"
	cost = 150
	#componentOf = [bracer(), urn_of_shadows()]
	strength = 3
	description = "+3 Strength"
	
class slippers_of_agility(dotaClasses.item):
	name = "Slippers of Agility"
	alternateNames = ["Duck Boots"]
	image = "slippers.png"
	cost = 150
	#componentOf = [poor_mans_shield(), wraith_band()]
	agility = 3
	description = "+3 Agility"
	
class mantle_of_intelligence(dotaClasses.item):
	name = "Mantle of Intelligence"
	alternateNames = ["mantle", "Mask of the Novice"]
	image = "mantle.png"
	cost = 150
	#componentOf = [null_talisman()]
	intel = 3
	description = "+3 Intelligence"
	
class circlet(dotaClasses.item):
	name = "Circlet"
	alternateNames = ["Circlet of Nobility", "Pretender's Crown"]
	image = "circlet.png"
	cost = 185
	#componentOf = [bracer(), null_talisman(), wraith_band()]
	strength = 2
	agility = 2
	intel = 2
	description = "+2 Strength\n+2 Agility\n+2 Intelligence"
	
class belt_of_strength(dotaClasses.item):
	name = "Belt of Strength"
	alternateNames = ["Belt of Giant Strength", "Bolstering Armband"]
	image = "belt_of_strength.png"
	cost = 450
	#componentOf = [skull_basher(), necronomicon(), power_treads(), sange()]
	strength = 6
	description = "+6 Strength"
	
class band_of_elvenskin(dotaClasses.item):
	name = "Band of Elvenskin"
	alternateNames = ["Boots of Elvenskin", "Fleetfeet"]
	image = "band_of_elvenskin.png"
	cost = 450
	#componentOf = [power_treads(), yasha()]
	agility = 6
	description = "+6 Agility"
	
class robe_of_the_magi(dotaClasses.item):
	name = "Robe of the Magi"
	alternateNames = ["Apprentice's Robe"]
	image = "robe.png"
	cost = 450
	#componentOf = [drum_of_endurance(), blade_mail(), diffusal_blade(), oblivion_staff(), veil_of_discord(), power_treads()]
	intel = 6
	description = "+6 Intelligence"
	
class ultimate_orb(dotaClasses.item):
	name = "Ultimate Orb"
	alternateNames = ["Blessed Orb"]
	image = "ultimate_orb.png"
	cost = 2100
	#componentOf = [eye_of_skadi(), linkens_sphere(), scythe_of_vyse(), manta_style()]
	strength = 10
	agility = 10
	intel = 10
	description = "+10 Strength\n+10 Agility\n+10 Intelligence"
	
class ogre_club(dotaClasses.item):
	name = "Ogre Club"
	alternateNames = ["Ogre Axe", "Mighty Blade"]
	image = "ogre_axe.png"
	cost = 1000
	#componentOf = [aghanims_scepter(), black_king_bar(), sange()]
	strength = 10
	description = "+10 Strength"
	
class blade_of_alacrity(dotaClasses.item):
	name = "Blade of Alacrity"
	alternateNames = ["Quickblade"]
	image = "blade_of_alacrity.png"
	cost = 1000
	#componentOf = [aghanims_scepter(), diffusal_blade(), yasha()]
	agility = 10
	description = "+10 Agility"
	
class staff_of_wizardry(dotaClasses.item):
	name = "Staff of Wizardry"
	alternateNames = ["Neophyte's Book"]
	image = "staff_of_wizardry.png"
	cost = 1000
	#componentOf = [aghanims_scepter(), dagon(), euls_scepter_of_divinity(), force_staff(), necronomicon(), rod_of_atos()]
	intel = 10
	description = "+10 Intelligence"
	
class ring_of_protection(dotaClasses.item):
	name = "Ring of Protection"
	alternateNames = ["Guardian Ring"]
	image = "ring_of_protection.png"
	cost = 175
	#componentOf = [ring_of_basilius(), tranquil_boots()]
	armor = 2
	description = "+2 Armor"
	
class quelling_blade(dotaClasses.item):
	name = "Quelling Blade"
	alternateNames = ["Quelling", "Logger's Hatchet"]
	image = "quelling_blade.png"
	cost = 225
	associatedAbilities = [abilities.qbDemolish(), abilities.qbTreeChop()]
	#bonus_creep_damage_melee = 0.32
	#bonus_creep_damage_ranged = 0.12
	#description = "+32% Bonus creep damage (melee wielder)\n+12% Bonus creep damage (ranged wielder)"
	
class stout_shield(dotaClasses.item):
	name = "Stout Shield"
	alternateNames = ["Stout"]
	image = "stout_shield.png"
	cost = 250
	#componentOf = [poor_mans_shield(), vanguard()]
	block = dotaClasses.block(10,10,0.6,0.6,20,20,0.6,0.6)
	description = "60% Chance to block\n20 Damage blocked (melee wielder)\n10 Damage dlocked (ranged wielder)"
	
class blades_of_attack(dotaClasses.item):
	name = "Blades of Attack"
	alternateNames = ["Claws of Attack", "Punchdagger"]
	image = "blades_of_attack.png"
	cost = 450
	#componentOf = [armlet_of_mordiggian(), crystalys(), phase_boots()]
	damage = 9
	description = "+9 Damage"
	
class chainmail(dotaClasses.item):
	name = "Chainmail"
	alternateNames = ["Ringmail"]
	image = "chainmail.png"
	cost = 550
	#componentOf = [assault_cuirass(), blade_mail(), medallion_of_courage(), buckler()]
	armor = 5
	description = "+5 Armor"
	
class quarterstaff(dotaClasses.item):
	name = "Quarterstaff"
	alternateNames = ["Steamstaff"]
	image = "quarterstaff.png"
	cost = 900
	#componentOf = [oblivion_staff(), butterfly()]
	damage = 10
	IAS = 10
	description = "+10 Damage\n+10 Attack speed"
	
class helm_of_iron_will(dotaClasses.item):
	name = "Helm of Iron Will"
	#alternateNames = ["Helm of the Victim"]
	image = "helm_of_iron_will.png"
	cost = 950
	#componentOf = [armlet_of_mordiggian(), helm_of_the_dominator(), veil_of_discord()]
	HPR = 3
	Armor = 3
	description = "+3 HP regeneration\n+5 Armor"
	
class broadsword(dotaClasses.item):
	name = "Broadsword"
	#alternateNames = ["none"]
	image = "broadsword.png"
	cost = 1200
	#componentOf = [battle_fury(), blade_mail(), crystalys()]
	damage = 18
	description = "+18 Damage"
	
class claymore(dotaClasses.item):
	name = "Claymore"
	#alternateNames = ["none"]
	image = "claymore.png"
	cost = 1400
	#componentOf = [battle_fury(), shadow_blade()]
	damage = 21
	description = "+21 Damage"
	
class platemail(dotaClasses.item):
	name = "Platemail"
	#alternateNames = ["none"]
	image = "platemail.png"
	cost = 1400
	#componentOf = [assault_cuirass(), shivas_guard()]
	armor = 10
	description = "+10 Armor"
	
class javelin(dotaClasses.item):
	name = "Javelin"
	#alternateNames = ["none"]
	image = "javelin.png"
	cost = 1500
	#componentOf = [skull_basher(), monkey_king_bar()]
	damage = 21
	associatedAbilities = [abilities.pierce()]
	description = "+21 Damage\n20% Chance to pierce for 40 damage"
	
class mithril_hammer(dotaClasses.item):
	name = "Mithril Hammer"
	alternateNames = ["Warhammer"]
	image = "mithril_hammer.png"
	cost = 1600
	#componentOf = [black_king_bar(), maelstrom(), desolator()]
	damage = 24
	description = "+24 Damage"
	
	
class sages_mask(dotaClasses.item):
	name = "Sage's Mask"
	alternateNames = ["Sobi Mask", "Scarab"]
	image = "sobi_mask.png"
	cost = 325
	#componentOf = [euls_scepter_of_divinity(), medallion_of_courage(), oblivion_staff(), ring_of_basilius(), soul_ring(), urn_of_shadows()]
	MPRP = 0.5
	description = "+50% Mana regeneration"
	
class ring_of_regen(dotaClasses.item):
	name = "Ring of Regen"
	alternateNames = ["Trinket of Restoration"]
	image = "ring_of_regen.png"
	cost = 350
	#componentOf = [headdress(), hood_of_defiance(), tranquil_boots(), soul_ring(), vladmirs_offering(), force_staff()]
	HPR = 2
	description = "+2 HP regeneration"
	
class boots_of_speed(dotaClasses.item):
	name = "Boots of Speed"
	alternateNames = ["Marchers"]
	image = "boots.png"
	cost = 450
	#componentOf = [arcane_boots(), boots_of_travel(), tranquil_boots(), phase_boots(), power_treads()]
	MSB = 50
	description = "+50 Movement speed"
	
class gloves_of_haste(dotaClasses.item):
	name = "Gloves of Haste"
	alternateNames = ["Gloves of the Swift"]
	image = "gloves_of_haste.png"
	cost = 500
	#componentOf = [armlet_of_mordiggian(), hand_of_midas(), maelstrom(), power_treads()]
	IAS = 15
	description = "+15 Attack speed"
	
class cloak(dotaClasses.item):
	name = "Cloak"
	alternateNames = ["Planewalker's Cloak", "Mystic Vestments"]
	image = "cloak.png"
	cost = 550
	#componentOf = [hood_of_defiance()]
	spellRes = 0.15
	description = "+15% Magic resistance"
	
class gem_of_true_sight(dotaClasses.item):
	name = "Gem of True Sight"
	alternateNames = ["Bound Eye"]
	image = "gem_of_true_sight.png"
	cost = 700
	associatedAbilities = [abilities.trueSight()]
	description = "Drops on Death."
	
class morbid_mask(dotaClasses.item):
	name = "Morbid Mask"
	alternateNames = ["Mask of Death", "Hungry Spirit"]
	image = "lifesteal.png"
	cost = 900
	#componentOf = [helm_of_the_dominator(), mask_of_madness(), vladmirs_offering()]
	associatedAbilities = [abilities.lifesteal()]
	#description = "Passive: Lifesteal"
	
class ghost_scepter(dotaClasses.item):
	name = "Ghost Scepter"
	alternateNames = ["Void Talisman"]
	image = "ghost_scepter.png"
	cost = 1600
	#componentOf = [ethereal_blade()]
	strength = 7
	agility = 7
	intel = 7
	associatedAbilities = [abilities.ghostForm()]
	description = "+7 Strength\n+7 Agility\n+7 Intelligence\nActive: Ghost Form"
	
class shadow_amulet(dotaClasses.item):
	name = "Shadow Amulet"
	#alternateNames = ["none"]
	image = "shadow_amulet.png"
	cost = 1600
	#componentOf = [shadow_blade()]
	IAS = 30
	associatedAbilities = [abilities.fade()]
	description = "+30 Attack speed\nActive: Fade"
	
class talisman_of_evasion(dotaClasses.item):
	name = "Talisman of Evasion"
	alternateNames = ["Snake Bracelet"]
	image = "talisman_of_evasion.png"
	cost = 1800
	#componentOf = [butterfly(), heavens_halberd()]
	evasion = 0.25
	description = "+25% Evasion"
	
class blink_dagger(dotaClasses.item):
	name = "Blink Dagger"
	alternateNames = ["Kelen's Dagger", "Portal Key"]
	image = "blink.png"
	cost = 2150
	associatedAbilities = [abilities.blink()]
	description = "Active: Blink"
	
class null_talisman(dotaClasses.item):
	name = "Null Talisman"
	alternateNames = ["Nulls", "Amulet of Exile"]
	image = "null_talisman.png"
	recipeCost = 145
	components = [circlet(), mantle_of_intelligence()]
	#componentOf = [dagon()]
	strength = 3
	agility = 3
	intel = 6
	damage = 3
	description = "+3 Strength\n+3 Agility\n+6 Intelligence\n+3 Damage"
	
class wraith_band(dotaClasses.item):
	name = "Wraith Band"
	alternateNames = ["Soulscream Ring"]
	image = "wraith_band.png"
	recipeCost = 150
	components = [circlet(), slippers_of_agility()]
	#componentOf = [ring_of_aquila()]
	strength = 3
	agility = 6
	intel = 3
	damage = 3
	description = "+3 Strength\n+6 Agility\n+3 Intelligence\n+3 Damage"
	
	
class bracer(dotaClasses.item):
	name = "Bracer"
	alternateNames = ["Fortified Bracer"]
	image = "bracer.png"
	recipeCost = 190
	components = [circlet(), gauntlets_of_strength()]
	#componentOf = [drum_of_endurance()]
	strength = 6
	agility = 3
	intel = 3
	damage = 3
	description = "+6 Strength\n+3 Agility\n+3 Intelligence\n+3 Damage"
	
class poor_mans_shield(dotaClasses.item):
	name = "Poor Man's Shield"
	alternateNames = ["PMS"]
	image = "poor_mans_shield.png" 
	components = [stout_shield(), slippers_of_agility(), slippers_of_agility()]
	agility = 6
	block = dotaClasses.block(10, 10, 1, 0.6, 20, 20, 1, 0.6)
	description = "100% Chance to block hero damage\n60% Chance to block creep damage\n20 Damage blocked (melee wielder)\n10 Damage blocked (ranged wielder)"

class soul_ring(dotaClasses.item):
	name = "Soul Ring"
	alternateNames = ["Blood Chalice"]
	image = "soul_ring.png"
	recipeCost = 125
	components = [ring_of_regen(), sages_mask()]
	HPR = 3
	MPRP = 0.5
	associatedAbilities = [abilities.sacrifice()]
	description = "+3 HP regeneration\n+50% Mana regeneration\nActive: Sacrifice"
	
class phase_boots(dotaClasses.item):
	name = "Phase Boots"
	alternateNames = ["Ghost Marchers"]
	image = "phase_boots.png"
	components = [boots_of_speed(), blades_of_attack(), blades_of_attack()]
	damage = 24
	MSB = 50
	associatedAbilities = [abilities.phase()]
	description = "+24 Damage\n+55 Movemenet speed\nActive: Phase"

class treads(dotaClasses.item):
	name = "Power Treads"
	alternateNames = ["Steamboots"]
	MSB = 55
	options = {'ptat' : dotaClasses.choiceOption()}
	options['ptat'].displayValues = ["Strength", "Agility", "Intelligence"]
	options['ptat'].displayName = "Power Treads Setting"
	description = "+30 Attack Speed\n+8 Selected Attribute\nActivate to chance selected attribute."

	@property
	def strength(self):
		if self.options['ptat'].value == 0:
			return 8 	
		else:
			return 0
	
	@property
	def agility(self):
		if self.options['ptat'].value == 1:
			return 8 	
		else:
			return 0
	
	@property
	def intel(self):
		if self.options['ptat'].value == 2:
			return 8 	
		else:
			return 0
	
	
class oblivion_staff(dotaClasses.item):
	name = "Oblivion Staff"
	alternateNames = ["Great Arcana"]
	image = "oblivion_staff.png"
	components = [quarterstaff(), robe_of_the_magi(), sages_mask()]
	#componentOf = [orchid_malevolence(), refresher_orb()]
	intel = 6
	MPRP = 0.75
	damage = 15
	IAS = 10
	description = "+6 Intelligence\n+75% Mana regeneration\n+15 Damage\n+10 Attack speed"
	
class perseverance(dotaClasses.item):
	name = "Perseverance"
	alternateNames = ["Sustainer"]
	image = "pers.png"
	components = [ring_of_health(), void_stone()]
	#componentOf = [battle_fury(), bloodstone(), linkens_sphere(), refresher_orb()]
	HPR = 5
	MPRP = 1.25
	damage = 10
	description = "+5 HP regeneration\n+125% Mana regeneration\n+10 Damage"
	
class hand_of_midas(dotaClasses.item):
	name = "Hand of Midas"
	alternateNames = ["Alchemist's Bones"]
	image = "hand_of_midas.png"
	recipeCost = 1400
	components = [gloves_of_haste()]
	IAS = 30
	associatedAbilities = [abilities.transmute()]
	description = "+30 Attack speed\nActive: Transmute"
	
class boots_of_travel(dotaClasses.item):
	name = "Boots of Travel"
	alternateNames = ["Post Haste"]
	image = "travel_boots.png"
	recipeCost = 2000
	components = [boots_of_speed()]
	MSB = 100
	associatedAbilities = [abilities.botTP()]
	description = "+100 Movement speed\nActive: Teleport"
	
class ring_of_basilius(dotaClasses.item):
	name = "Ring of Basilius"
	alternateNames = ["Ring of the Teacher"]
	image = "ring_of_basilius.png"
	components = [sages_mask(), ring_of_protection()]
	#componentOf = [vladmirs_offering(), ring_of_aquila()]
	damage = 6
	armor = 1
	#associatedBuffs = [buffs.basiliusAura()]
	description = "+6 Damage\n+1 Armor\nToggle: Basilius Aura"
	
class headdress(dotaClasses.item):
	name = "Headdress"
	alternateNames = ["Refreshing Ornament"]
	image = "headdress.png"
	recipeCost = 200
	components = [ring_of_regen(), iron_branch()]
	#componentOf = [pipe_of_insight(), mekansm()]
	strength = 2
	agility = 2
	intel = 2
	#associatedBuffs[buffs.headdressRegenerationAura()]
	description = "+2 Strength\n+2 Agility\n+2 Intelligence\nPassive: Regeneration Aura"
	
class buckler(dotaClasses.item):
	name = "Buckler"
	alternateNames = ["Shield of the Five"]
	image = "buckler.png"
	recipeCost = 200
	components = [chainmail(), iron_branch()]
	#componentOf = [mekansm()]
	strength = 2
	agility = 2
	intel = 2
	armor = 5
	description = "+2 Strength\n+2 Agility\n+2 Intelligence\n+5 Armor\nActive: Armor Bonus"
	associatedAbilities = [abilities.bucklerActive()]

	
class urn_of_shadows(dotaClasses.item):
	name = "Urn of Shadows"
	#alternateNames = ["none"]
	image = "urn_of_shadows.png"
	recipeCost = 250
	components = [sages_mask(), gauntlets_of_strength(), gauntlets_of_strength()]
	strength = 6
	MPRP = 0.5
	associatedAbilities = [abilities.soulRelease()]
	description = "+6 Strength\n+50% Mana regeneration\nWhen an enemy hero dies within 1400 AoE, gains a charge (gains 2 charges if it has 0). Each hero death can only charge one urn."
	
class tranquil_boots(dotaClasses.item):
	name = "Tranquil Boots"
	#alternateNames = ["none"]
	image = "tranquil_boots.png"
	components = [boots_of_speed(), ring_of_protection(), ring_of_regen()]
	HPR = 3
	armor = 3
	options = {'tbon' : dotaClasses.booleanOption()}
	options['tbon'].displayName = "Tranquil Boots: Enabled"
	
	@property
	def MSB(self):
		if self.options['tbon'].value:
			return 75
		else:
			return 25



	associatedAbilities = [abilities.tranquilBootsHeal()];
	description = "+3 HP regeneration\n+3 Armor\n+75 Movement speed\nActive: Heal\nPassive: Break"
	
class ring_of_aquila(dotaClasses.item):
	name = "Ring of Aquila"
	#alternateNames = ["none"]
	image = "ring_of_aquila.png"
	components = [wraith_band(), ring_of_basilius()]
	strength = 3
	agility = 6
	intel = 3
	damage = 9
	armor = 1
	#associatedBuffs = [buffs.aquilaAura()]
	description = "+3 Strength\n+6 Agility\n+3 Intelligence\n+9 damage\n+1 Armor\nToggle: Aquila Aura"
	
class medallion_of_courage(dotaClasses.item):
	name = "medallion_of_courage"
	#alternateNames = ["none"]
	image = "medallion_of_courage.png"
	recipeCost = 200
	components = [chainmail(), sages_mask()]
	MPRP = 0.5
	armor = 6
	associatedAbilities = [abilities.valor()]
	description = "+50% Mana regeneration\n+6 Armor\nActive: Valor"

class arcane_boots(dotaClasses.item):
	name = "Arcane Boots"
	#alternateNames = ["none"]
	image = "arcane_boots.png"
	components = [boots_of_speed(), energy_booster()]
	MP = 250
	MSB = 60
	associatedAbilities = [abilities.replenishMana()]
	description = "+250 Mana\n+60 Movement speed\nActive: Replenish Mana"
	
class drum_of_endurance(dotaClasses.item):
	name = "Drum of Endurance"
	alternateNames = ["Ancient Janggo of Endurance"]
	image = "ancient_janggo.png"
	recipeCost = 750
	components = [bracer(), robe_of_the_magi()]
	strength = 9
	agility = 9
	intel = 9
	damage = 3
	#associatedBuffs = [buffs.swiftnessAura()]
	associatedAbilities = [abilities.drumsActive()]
	description = "+9 Strength\n+9 Agility\n+9 Intelligence\n+3 Damage\nPassive: Swiftness Aura\nActive: Endurance"
	
class vladmirs_offering(dotaClasses.item):
	name = "Vladmir's Offering"
	#alternateNames = ["none"]
	image = "vladmir.png"
	recipeCost = 300
	components = [morbid_mask(), ring_of_basilius(), ring_of_regen()]
	HPR = 2
	description = "+2 HP regeneraton\nPassive: Vladmir's Aura"
	associatedBuffs = [buffs.vladsAura()]
	
class mekansm(dotaClasses.item):
	name = "Mekansm"
	alternateNames = ["Astrolabe"]
	image = "mekansm.png"
	recipeCost = 900
	components = [buckler(), headdress()]
	strength = 5
	agility = 5
	intel = 5
	armor = 5
	#associatedBuffs = [buffs.mekansmAura()]
	associatedAbilities = [abilities.mekRestore()]
	description = "+5 Strength\n+5 Agility\n+5 Intelligence\n+5 Armor\nPassive: Mekansm Aura\nActive: Restore"
	
	
class force_staff(dotaClasses.item):
	name = "Force Staff"
	alternateNames = ["Push Stick", "Tablet of Command"]
	image = "force_staff.png"
	recipeCost = 1000
	components = [staff_of_wizardry(), ring_of_regen()]
	associatedAbilities = [abilities.force()]
	description = "+10 Intelligence\n+3 HP regeneration\nActive: Force"
	
class veil_of_discord(dotaClasses.item):
	name = "Veil of Discord"
	#alternateNames = ["none"]
	image = "veil_of_discord.png"
	recipeCost = 1250
	components = [helm_of_iron_will(), robe_of_the_magi()]
	intel = 12
	HPR = 6
	armor = 6
	associatedAbilities = [abilities.magicWeakness()]
	description = "+12 Intelligence\n+6 HP regeneration\n+6 Armor\nActive: Magic Weakness"
	
class euls_scepter_of_divinity(dotaClasses.item):
	name = "Eul's Scepter of Divinity"
	alternateNames = ["Stormspirit"]
	image = "cyclone.png"
	recipeCost = 500
	components = [staff_of_wizardry(), sages_mask(), void_stone()]
	intel = 10
	MPRP = 1.5
	MS = 30
	associatedAbilities = [abilities.cyclone()]
	description = "+10 Intelligence\n+150% Mana regeneration\n+30 Movement speed\nActive: Cyclone"
	
class necroBook(dotaClasses.item):
	name = "Necronomicon"
	alternateNames = ["Puzzlebox", "Necrobook"]
	maxLevel = 3

	@property
	def intel(self):
		if self.level == 1:
			return 15
		elif self.level == 2:
			return 21
		else:
			return 24
													
	@property
	def image(self):
		if self.level <= 1:
			return "necronomicon.png"
		if self.level > 1:
			return "necronomicon_" + str(self.level) + ".png"

	@property
	def strength(self):
		return 4 + 4 * self.level

	@property
	def associatedAbilities(self):
		return [abilities.demonicSummoning(self.level)]

	recipeCost = 1250

	
class dagon(dotaClasses.item):
	name = "Dagon"
	alternateNames = ["Codex"]
	components = [staff_of_wizardry(), null_talisman()]
	maxLevel = 5
	@property
	def image(self):
		if self.level <= 1:
			return "dagon.png"
		if self.level > 1:
			return "dagon_" + str(self.level) + ".png"

	recipeCost = 1300
								
	@property
	def intel(self):
		return 14 + 2 * self.level

	strength = 3
	agility = 3
	damage = 9

	@property
	def associatedAbilities(self):
		return [abilities.energyBurst(self.level)]



class rod_of_atos(dotaClasses.item):
	name = "Rod of Atos"
	#alternateNames = ["none"]
	image = "rod_of_atos.png"
	components = [staff_of_wizardry(), staff_of_wizardry(), vitality_booster()]
	intel = 25
	HP = 325
	associatedAbilities = [abilities.cripple()]
	description = "+25 Intelligence\n+325 HP\nActive: Cripple"
	
class orchid_malevolence(dotaClasses.item):
	name = "Orchid Malevolence"
	alternateNames = ["Hellflower"]
	image = "orchid.png"
	recipeCost = 775
	components = [oblivion_staff(), oblivion_staff()]
	intel = 25
	MPRP = 1.5
	damage = 30
	IAS = 30
	associatedAbilities = [abilities.orchidSoulBurn()]
	description = "+25 Intelligence\n+150% Mana regeneration\n+30 Damage\n+30 Attack speed\nActive: Soul Burn"
	
class aghanims_scepter(dotaClasses.item):
	name = "Aghanim's Scepter"
	alternateNames = ["Ult Stick", "Staff of the Master"]
	image = "ultimate_scepter.png"
	components = [point_booster(), ogre_club(), blade_of_alacrity(), staff_of_wizardry()]
	strength = 10
	agility = 10
	intel = 10
	HP = 200
	MP = 150
	associatedAbilities = [abilities.ultimateUpgrade()]
	description = "+10 Strength\n+10 Agility\n+10 Intelligence\n+200 HP\n+150 Mana\nPassive: Ultimate Upgrade"
	
class refresher_orb(dotaClasses.item):
	name = "Refresher Orb"
	alternateNames = ["Restoration Stone"]
	image = "refresher.png"
	recipeCost = 1875
	components = [oblivion_staff(), perseverance()]
	intel = 6
	HPR = 5
	MPRP = 2
	damage = 40
	associatedAbilities = [abilities.resetCooldowns()]
	description = "+6 Intelligence\n+5 HP regeneration\n+200% Mana regeneration\n+40 Damage\nActive: Reset Cooldowns"
	
class scythe_of_vyse(dotaClasses.item):
	name = "Scythe of Vyse"
	alternateNames = ["Guinsoo's Scythe of Vyse", "Sheepstick"]
	image = "sheepstick.png"
	components = [mystic_staff(), ultimate_orb(), void_stone()]
	strength = 10
	agility = 10
	intel = 35
	MPRP = 1.5
	associatedAbilities = [abilities.sheepStickHex()]
	description = "+10 strength\n+10 Agility\n+35 Intelligence\n+150% Mana regeneration\nActive: Hex"
	
class crystalys(dotaClasses.item):
	name = "Crystalys"
	alternateNames = ["Riftshards"]
	image = "lesser_crit.png"
	recipeCost = 500
	components = [broadsword(), blades_of_attack()]
	#componentOf = [daedalus()]
	damage = 30
	crit = dotaClasses.crit(1.75, 0.2)
	description = "+30 Damage\n20% Critical chance\n1.75x Critical damage"
	
class armlet_of_mordiggian(dotaClasses.item):
	name = "Armlet of Mordiggian"
	#alternateNames = ["none"]
	image = "armlet.png"
	recipeCost = 700
	components = [helm_of_iron_will(), gloves_of_haste(), blades_of_attack()]
	HPR = 8
	damage = 9
	armor = 5
	IAS = 15

	options = {'armt' : dotaClasses.booleanOption()}
	options['armt'].displayName = "Armlet: Active"

	@property
	def associatedBuffs(self):
		if options['armt'].value:
			return [buffs.unholyStrength()]
		else:
			return []
	
	#associatedAbilities = [abilities.unholyStrength()]
	description = "+8 HP regeneration\n+9 Damage\n+5 Armor\n+15 Attack speed\nActive: Unholy Strength"
	
class skull_basher(dotaClasses.item):
	name = "Skull Basher"
	alternateNames = ["Cranium Basher", "Brutalizer"]
	image = "basher.png"
	recipeCost = 1000
	components = [javelin(), belt_of_strength()]
	#componentOf = [abyssal_blade()]
	strength = 6
	damage = 40
	associatedAbilites = [abilities.cbBash()]
	description = "+6 Strength\n+40 Damage"
	
class shadow_blade(dotaClasses.item):
	name = "Shadow Blade"
	alternateNames = ["Lothar's Edge", "Assassin's Shroud"]
	image = "invis_sword.png"
	components = [claymore(), shadow_amulet()]
	damage = 30
	IAS = 30
	associatedAbilities = [abilities.shadowWalk()]
	description = "+30 Damage\n+30 Attack speed\nActive: Shadow Walk"
	
class battle_fury(dotaClasses.item):
	name = "Battle Fury"
	alternateNames = ["Runed Axe", "Runed Cleaver"]
	image = "bfury.png"
	components = [broadsword(), claymore(), perseverance()]
	HPR = 6
	MPRP = 1.5
	damage = 65
	description = "+6 HP regeneration\n+150% Mana regeneration\n+65 Damage"
	associatedAbilities = [abilities.bfuryCleave()]
	
class ethereal_blade(dotaClasses.item):
	name = "Ethereal Blade"
	#alternateNames = ["none"]
	image = "ethereal_blade.png"
	components = [eaglesong(), ghost_scepter()]
	strength = 10
	agility = 40
	intel = 10
	associatedAbilities = [abilities.etherBlast()]
	description = "+10 Strength\n+40 Agility\n+10 Intelligence\nActive: Ether Blast"
	
class radiance(dotaClasses.item):
	name = "Radiance"
	alternateNames = ["Mock of Brilliance"]
	image = "radiance.png"
	recipeCost = 1350
	components = [sacred_relic()]
	damage = 60
	associatedAbilities = [abilities.radiBurn()]
	description = "+60 Damage\nToggle: Burn Damage"
	
class monkey_king_bar(dotaClasses.item):
	name = "Monkey King Bar"
	#alternateNames = ["none"]
	image = "monkey_king_bar.png"
	components = [javelin(), javelin(), demon_edge()]
	damage = 88
	IAS = 15
	associatedAbilities = [abilities.trueStrike(), abilities.miniBash()]
	description = "+88 Damage\n+15 Attack speed\nPassive: Mini-Bash\nPassive: True Strike"
	
class daedalus(dotaClasses.item):
	name = "Daedalus"
	alternateNames = ["Riftshards", "Buriza-Do Kyanon"]
	image = "greater_crit.png"
	recipeCost = 1000
	components = [demon_edge(), crystalys()]
	damage = 81
	crit = dotaClasses.crit(2.4, 0.25)
	description = "+81 Damage\n25% Critical chance\n2.4x Critical damage"
	
class butterfly(dotaClasses.item):
	name = "Butterfly"
	alternateNames = ["Wingbow"]
	image = "butterfly.png"
	components = [eaglesong(), talisman_of_evasion(), quarterstaff()]
	agility = 30
	damage = 30
	evasion = 0.35
	IAS = 30
	description = "+30 Agility\n+30 Damage\n+35 Evasion\n+30 Attack speed"
	
class divine_rapier(dotaClasses.item):
	name = "Divine Rapier"
	alternateNames = ["Doombringer"]
	image = "rapier.png"
	components = [demon_edge(), sacred_relic()]
	damage = 300
	description = "+300 Damage\nDrops on Death\nOnce it has been picked up by an enemy, it loses the ability to be manually dropped but becomes fully shareable."
	
class abyssal_blade(dotaClasses.item):
	name = "Abyssal Blade"
	#alternateNames = ["none"]
	image = "abyssal_blade.png"
	components = [skull_basher()]
	strength = 10
	damage = 100
	associatedAbilities = [abilities.cbBash(), abilities.overwhelm()]

	description = "+10 Strength\n+100 Damage\nPassive: Bash\nActive: Overwhelm"
	
class hood_of_defiance(dotaClasses.item):
	name = "Hood of Defiance"
	alternateNames = ["Shaman's Headdress"]
	image = "hood_of_defiance.png"
	components = [ring_of_health(), cloak(), ring_of_regen(), ring_of_regen()]
	#componentOf = [pipe_of_insight]
	HPR = 8
	spellRes = 0.3
	description = "+8 HP regeneration\n+30% Magic resistance"
	
class blade_mail(dotaClasses.item):
	name = "Blade Mail"
	alternateNames = ["Barbed Armor"]
	image = "blade_mail.png"
	components = [broadsword(), chainmail(), robe_of_the_magi()]
	intel = 10
	damage = 22
	armor = 5
	associatedAbilities = [abilities.damageReturn()]
	description = "+10 Intelligence\n+22 Damage\n+5 Armor\nActive: Damage Return"
	
class vanguard(dotaClasses.item):
	name = "Vanguard"
	#alternateNames = ["Helm of the Black Legion"]
	image = "vanguard.png"
	components = [ring_of_health(), vitality_booster(), stout_shield()]
	HP = 250
	HPR = 6
	block = dotaClasses.block(20, 20, 0.7, 0.7, 40, 40, 0.7, 0.7)
	description = "+250 HP\n+6 HP regeneration\n70% Chance to block\n40 Damage blocked (melee wielder)\n20 Damage blocked (ranged wielder)"
	
class soul_booster(dotaClasses.item):
	name = "Soul Booster"
	alternateNames = ["Icon of the Goddess"]
	image = "soul_booster.png"
	components = [point_booster(), vitality_booster(), energy_booster()]
	#componentOf = [bloodstone()]
	HP = 450
	MP = 400
	HPR = 4
	MPRP = 1
	description = "+450 HP\n+400 Mana\n+4 HP regeneration\n+100% Mana regeneration"
	
class black_king_bar(dotaClasses.item):
	name = "Black King Bar"
	alternateNames = ["Shrunken Head"]
	image = "black_king_bar.png"
	recipeCost = 1300
	components = [mithril_hammer(), ogre_club()]
	charges = 5 #so like time = 5 + (charges before use)
	strength = 10
	damage = 24
	associatedAbilities = [abilities.avatar()]
	description = "+10 Strength\n+24 Damage\nActive: Avatar"
	
class shivas_guard(dotaClasses.item):
	name = "Shiva's Guard"
	alternateNames = ["Frostfield Plate"]
	image = "shivas_guard.png"
	recipeCost = 600
	components = [mystic_staff(), platemail()]
	intel = 30
	armor = 15
	associatedAbilities = [abilities.arcticBlast(), abilities.freezingAura()]
	description = "+30 Intelligence\n+15 Armor\nPassive: Freezing Aura\nActive: Arctic Blast"
	
class bloodstone(dotaClasses.item):
	name = "Bloodstone"
	#alternateNames = ["none"]
	image = "bloodstone.png"
	components = [soul_booster(), perseverance()]
	HP = 500
	MP = 400
	HPR = 9
	MPRP = 2
	#associatedAbilities = [abilities.bloodpact()]
	description = "+500 HP\n+400 Mana\n+9 HP regeneration\n+200% Mana regeneration\nPassive: Bloodpact"
	
class linkens_sphere(dotaClasses.item):
	name = "Linken's Sphere"
	alternateNames = ["Nullstone"]
	image = "sphere.png"
	recipeCost = 1325
	components = [perseverance(), ultimate_orb()]
	strength = 15
	agility = 15
	intel = 15
	HPR = 6
	MPRP = 1.5
	damage = 10
	associatedAbilities = [abilities.spellBlock()]
	description = "+15 Strength\n+15 Agility\n+15 Intelligence\n+6 HP regeneration\n+150% Mana regeneration\n+10 Damage\nPassive: Spellblock"

class assault_cuirass(dotaClasses.item):
	name = "Assault Cuirass"
	alternateNames = ["Daemonic Breastplate"]
	image = "assault.png"
	recipeCost = 1300
	components = [platemail(), hyperstone(), chainmail()]
	armor = 10
	IAS = 35
	associatedBuffs = [buffs.acPositive()]
	description = "+10 armor\n+35 Attack speed\nPassive: Assault Aura"

class heart(dotaClasses.item):
	name = "Heart of Tarrasque"
	alternateNames = ["Behemoth's Heart"]
	image = "heart.png"
	cost = 5500
	recipeCost = 1200
	strength = 40
	HP = 300
	options = {'htpr' : dotaClasses.booleanOption()}
	options['htpr'].displayName = "Heart: Enable % Regen"

	@property
	def HPR(self):
		return self.options['htpr'].value * self.associatedHero.getTotalHP() * .02	

	
class helm_of_the_dominator(dotaClasses.item):
	name = "Helm of the Dominator"
	alternateNames = ["Whispering Helm"]
	image = "helm_of_the_dominator.png"
	components = [helm_of_iron_will(), morbid_mask()]
	#componentOf = [satanic()]
	damage = 20
	armor = 5
	associatedAbilities = [abilities.dominate(), abilities.hotdLifesteal()]
	description = "+20 Damage\n+5 Armor\nPassive: Lifesteal\nActive: Dominate"
	
class mask_of_madness(dotaClasses.item):
	name = "Mask of Madness"
	#alternateNames = ["none"]
	image = "mask_of_madness.png"
	recipeCost = 1000
	components = [morbid_mask()]
	associatedAbilities = [abilities.momBerserk(), abilities.momLifesteal()]
	description = "Passive: Lifesteal\nActive: Berserk"
	
class sange(dotaClasses.item):
	name = "Sange"
	alternateNames = ["Icebrand"]
	image = "sange.png"
	recipeCost = 600
	components = [ogre_club(), belt_of_strength()]
	#componentOf = [sange_and_yasha(), heavens_halberd()]
	strength = 16
	damage = 10
	associatedAbilities = [abilities.lesserMaim()]
	description = "+16 Strength\n+10 Damage\nPassive: Lesser Maim"
	
class yasha(dotaClasses.item):
	name = "Yasha"
	#alternateNames = ["none"]
	image = "yasha.png"
	recipeCost = 600
	components = [blade_of_alacrity(), band_of_elvenskin()]
	#componentOf = [manta_style(), sange_and_yasha()]
	agility = 16
	IASy = 15
	MSY = 0.1
	description = "+16 Agility\n+15 Attack speed\n+10% Movement speed"
	
class maelstrom(dotaClasses.item):
	name = "Maelstrom"
	alternateNames = ["Thunderclaw"]
	image = "maelstrom.png"
	recipeCost = 600
	components = [mithril_hammer(), gloves_of_haste()]
	#componentOf = [mjollnir()]
	damage = 24
	IAS = 25
	associatedAbilities = [abilities.maelChainLightning()]
	description = "+24 Damage\n+25 Attack speed\nPassive: Chain Lightning"
	
class diffusal(dotaClasses.item):
	maxLevel = 2
	name = "Diffusal Blade"
	alternateNames = ["Nullfire blade"]
	components = [blade_of_alacrity(), blade_of_alacrity(), robe_of_the_magi()]
	recipeCost = 850
	@property
	def agility(self):
		return 18 + 4 * self.level
	@property
	def intel(self):
		return 2 + 4 * self.level
	@property
	def associatedAbilities(self):
		return [abilities.diffusalPurge(), abilities.feedback(self.level)]

	
class heavens_halberd(dotaClasses.item):
	name = "Heaven's Halberd"
	alternateNames = ["none"]
	image = "heavens_halberd.png"
	components = [sange(), talisman_of_evasion()]
	strength = 20
	damage = 25
	evasion = 0.25
	associatedAbilities = [abilities.disarm(), abilities.lesserMaim()]
	description = "+20 Strength\n+25 Damage\n+25% Evasion\nPassive: Lesser Maim\nActive: Disarm"
	
class sange_and_yasha(dotaClasses.item):
	name = "Sange and Yasha"
	alternateNames = ["Frostburn"]
	image = "sange_and_yasha.png"
	components = [sange(), yasha()]
	strength = 16
	agility = 16
	damage = 12
	IAS = 15
	MS_multiplier = 0.12
	associatedAbilities = [abilities.greaterMaim()]
	description = "+16 Strength\n+16 Agility\n+12 Damage\n+15 Attack speed\n+12% Movement speed\nPassive: Greater Maim"
	
class desolator(dotaClasses.item):
	name = "Desolator"
	alternateNames = ["Shieldbreaker"]
	image = "desolator.png"
	recipeCost = 900
	components = [mithril_hammer(), mithril_hammer()]
	damage = 60
	associatedAbilities = [abilities.corruption()]
	description = "+60 Damage\nPassive: Corruption"
	
class mjollnir(dotaClasses.item):
	name = "Mjollnir"
	alternateNames = ["Charged Hammer"]
	image = "mjollnir.png"
	recipeCost = 600
	components = [hyperstone(), maelstrom()]
	damage = 24
	IAS = 80
	associatedAbilities = [abilities.staticCharge(), abilities.mjoChainLightning()]
	description = "+24 Damage\n+80 Attack speed\nPassive: Chain Lightning\nActive: Static Charge"
	
class eye_of_skadi(dotaClasses.item):
	name = "Eye of Skadi"
	alternateNames = ["Frostwolf Skull"]
	image = "skadi.png"
	components = [ultimate_orb(), ultimate_orb(), point_booster(), orb_of_venom()]
	strength = 25
	agility = 25
	intel = 25
	HP = 250
	MP = 250
	associatedAbilities = [abilities.coldAttack()]
	description = "+25 Strength\n+25 Agility\n+25 Intelligence\n+250 HP\n+250 Mana\nPassive: Cold Attack"
	
	
class satanic(dotaClasses.item):
	name = "Satanic"
	alternateNames = ["Symbol of Rage"]
	image = "satanic.png"
	recipeCost = 1100
	components = [reaver(), helm_of_the_dominator()]
	strength = 25
	damage = 20
	armor = 5
	associatedAbilities = [abilities.satanicLifesteal(), abilities.unholyRage()]
	description = "+25 Strength\n+20 Damage\n+5 Armor\nPassive: Lifesteal\n+Active: Unholy Rage"
	
class pipe_of_insight(dotaClasses.item):
	name = "Pipe of Insight"
	alternateNames = ["Barrier Idol"]
	image = "pipe.png"
	recipeCost = 900
	components = [hood_of_defiance(), headdress()]
	HPR = 11
	spellRes = 0.3
	associatedAbilities = [abilities.barrier()]
	description = "+11 HP regeneration\n+30% Magic resistance\nActive: Barrier"

class manta_style(dotaClasses.item):
	name = "Manta Style"
	alternateNames = ["Geometer's Bane"]
	image = "manta.png"
	recipeCost = 900
	components = [ultimate_orb(), yasha()]
	strength = 10
	agility = 26
	intel = 10
	IASy = 15
	MSY = 0.1
	associatedAbilities = [abilities.mantaMirrorImage()]
	description = "+10 Strength\n+26 Agility\n+10 Intelligence\n+15 Attack speed\n+10% Movement speed\nActive: Mirror Image"

itemList = {'clrty' : clarity, 'tango' : tango, 'hlngs' : healing_salve, 'smkfd' : smoke_of_deceit, 'twnpr' : town_portal_scroll, 'dstfp' : dust_of_appearance, 'nmlcr' : animal_courier, 'flyng' : flying_courier, 'bsrvr' : observer_ward, 'sntry' : sentry_ward, 'bottl' : bottle, 'rnbrn' : iron_branch, 'gntlt' : gauntlets_of_strength, 'slppr' : slippers_of_agility, 'mntlf' : mantle_of_intelligence, 'crclt' : circlet, 'bltfs' : belt_of_strength, 'bndfl' : band_of_elvenskin, 'rbfth' : robe_of_the_magi, 'ltmtr' : ultimate_orb, 'grclb' : ogre_club, 'bldfl' : blade_of_alacrity, 'stfff' : staff_of_wizardry, 'rngfp' : ring_of_protection, 'qllng' : quelling_blade, 'sttsh' : stout_shield, 'bldsf' : blades_of_attack, 'chnml' : chainmail, 'qrtrs' : quarterstaff, 'hlmfr' : helm_of_iron_will, 'brdsw' : broadsword, 'clymr' : claymore, 'pltml' : platemail, 'javel' : javelin, 'mthrl' : mithril_hammer, 'mgcst' : magic_stick, 'sgsms' : sages_mask, 'rngfr' : ring_of_regen, 'btsfs' : boots_of_speed, 'glvsf' : gloves_of_haste, 'cloak' : cloak, 'gmftr' : gem_of_true_sight, 'mrbdm' : morbid_mask, 'ghsts' : ghost_scepter, 'shdwm' : shadow_amulet, 'tlsmn' : talisman_of_evasion, 'blnkd' : blink_dagger, 'nlltl' : null_talisman, 'wrthb' : wraith_band, 'mgcwn' : magic_wand, 'brace' : bracer, 'prmns' : poor_mans_shield, 'slrng' : soul_ring, 'phsbt' : phase_boots, 'pwrtr' : power_treads, 'blvns' : oblivion_staff, 'prsrv' : perserverance, 'hndfm' : hand_of_midas, 'btsft' : boots_of_travel, 'rngfb' : ring_of_basilius, 'hddrs' : headdress, 'bcklr' : buckler, 'rnfsh' : urn_of_shadows, 'trnql' : tranquil_boots, 'rngfq' : ring_of_aquila, 'mdlln' : medallion_of_courage, 'rcnbt' : arcane_boots, 'drmfn' : drum_of_endurance, 'cldmr' : cladmirs_offering, 'mknsm' : mekansm, 'ppfns' : pipe_of_insight, 'frcst' : force_staff, 'vlfds' : veil_of_discord, 'lsscp' : euls_scepter_of_divinity, 'ncrnm' : necronomicon, 'dagon' : dagon, 'rdfts' : rod_of_atos, 'rchdm' : orchid_malevolence, 'ghnms' : aghanims_scepter, 'rfrsh' : refresher_orb, 'scyth' : scythe_of_vyse, 'cryst' : crystalys, 'rmltf' : armlet_of_mordiggian, 'skllb' : skull_basher, 'shdwb' : shadow_blade, 'bttlf' : battle_fury, 'thrlb' : ethereal_blade, 'radia' : radiance, 'mnkyk' : monkey_king_bar, 'daeda' : daedalus, 'bttrf' : butterfly, 'dvnrp' : divine_rapier, 'byssl' : abyssal_blade, 'hdfdf' : hood_of_defiance, 'bldml' : blade_mail, 'vngrd' : vanguard, 'slbst' : soul_booster, 'blckk' : black_king_bar, 'shvsg' : shivas_guard, 'mntst' : manta_style, 'bldst' : bloodstone, 'lnkns' : linkens_sphere, 'ssltc' : assault_cuirass, 'hrtft' : heart_of_tarrasque, 'hlmft' : helm_of_the_dominator, 'mskfm' : mask_of_madness, 'sange' : sange, 'yasha' : yasha, 'mlstr' : maelstrom, 'dffsl' : diffusal_blade, 'hvnsh' : heavens_halberd, 'sngnd' : sange_and_yasha, 'dsltr' : desolator, 'mjlln' : mjollnir, 'yfskd' : eye_of_skadi, 'satan' : satanic, 'rbfvn' : orb_of_venom, 'rngfh' : ring_of_health, 'vdstn' : void_stone, 'nrgyb' : energy_booster, 'vtlty' : vitality_booster, 'pntbs' : point_booster, 'hyprs' : hyperstone, 'dmndg' : demon_edge, 'mytcs' : mytic_staff, 'reave' : reaver, 'glsng' : eaglesong, 'scrdr' : sacred_relic}

